#/bin/bash
b=''
i=0
for (( i=0; $i<=100; i=$i+1 ))
do	
 	printf "%d%%[%-50s] \r" "$i" "$b";
 	sleep 0.2
	b=''
	for (( j=0; $j<=$i/2; j=$j+1 ))
	do
		b+='='
	done
	b+='>'
done
echo
